package org.his.mapper;

import org.his.entity.Patient;
import org.his.entity.Prescription;
import org.his.entity.Registration;

public interface PrescriptionMapper {
	//将新建处方中可自动填充的项目赋值到处方类中
	Prescription setPrescription(Registration registrationinfo,Patient patientinfo);
	//为查询处方提供数据
	Prescription queryByMedicalrecord(String selectMedicalrecord);
	//新增处方（存在sqlexception）
	int addPresciption(Prescription addPrescription);
	
}
